var status = -1;

function start(c, b, a) {
    if (c == 1) {
        status++
    } else {
        status--
    }
    if (status == 0) {
        qm.forceStartQuest();
        qm.dispose()
    }
}

function end(c, b, a) {
    qm.dispose()
};